package com.spic.business.bp.service.impl;

import com.spic.business.bp.domain.BpInfoAlarm;
import com.spic.business.bp.mapper.BpInfoAlarmMapper;
import com.spic.business.bp.service.BpInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 290512
 * @create 2022-07-25 16:00
 */
@Service
public class BpInfoServiceImpl implements BpInfoService
{
    @Autowired
     private BpInfoAlarmMapper bpInfoAlarmMapper;
    @Override
    public List<BpInfoAlarm> selectBpInfoAlarmList(BpInfoAlarm bpInfoAlarm)
    {
        List<BpInfoAlarm> list = bpInfoAlarmMapper.selectBpInfoAlarmList(bpInfoAlarm);
        return list;
    }

    @Override
    public BpInfoAlarm selectBpInfoAlarmById(String id)
    {
        BpInfoAlarm bpInfoAlarm =   bpInfoAlarmMapper.selectBpInfoAlarmById(id);
        return bpInfoAlarm;
    }


}
